<?php

namespace app\common\model;

class Menu extends Base
{
    public function getIndexList()
    {
        $order = ['sort' => 'asc', 'id' => 'asc'];
        return $this->where('status', 1)->order($order)->limit(30)->select();
    }
}